package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.ProcConnect;
import cn.getech.data.development.model.dto.ConfConnectDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 项目连接关系表 Mapper 接口
 * </p>
 *
 * @author zenith
 * @since 2019-07-08
 */
@Mapper
public interface ProcConnectMapper extends BaseMapper<ProcConnect> {

    List<ConfConnectDto> listAllConnect(@Param("procId") Long procId);

    Integer checkTaskRelation(@Param("procId") Integer procId,@Param("connectId") Integer connectId);
}
